package com.bootx.predict.pojo;


/**
 * @author black
 */
public class PredictionResult {

    private Integer index;

    private Integer total;
    private Integer oddCount;
    private Double oddProbability;
    private Integer avgOpenTime;

    public PredictionResult(Integer index, Integer total, Integer oddCount, Double oddProbability, Integer avgOpenTime) {
        this.index = index;
        this.total = total;
        this.oddCount = oddCount;
        this.oddProbability = oddProbability;
        this.avgOpenTime = avgOpenTime;
    }

    public PredictionResult(Integer index, Double oddProbability, Integer avgOpenTime) {
        this.index = index;
        this.oddProbability = oddProbability;
        this.avgOpenTime = avgOpenTime;
    }

    public PredictionResult() {
    }

    public Integer getIndex() {
        return index;
    }

    public void setIndex(Integer index) {
        this.index = index;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public Integer getOddCount() {
        return oddCount;
    }

    public void setOddCount(Integer oddCount) {
        this.oddCount = oddCount;
    }

    public Double getOddProbability() {
        return oddProbability;
    }

    public void setOddProbability(Double oddProbability) {
        this.oddProbability = oddProbability;
    }

    public Integer getAvgOpenTime() {
        return avgOpenTime;
    }

    public void setAvgOpenTime(Integer avgOpenTime) {
        this.avgOpenTime = avgOpenTime;
    }
}
